home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
prgtools
/
langs
/
j_41_st.zoo
/
tutorial.zoo
/
tut
/
tut21.js
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1991-06-06
|
417 b
|
27 lines
PROGRAMS: recursive Gf
[ a=.3 3$'abcdefghi'
abc
def
ghi
(f=.i. -."1 0 i.) a
1 2
0 2
0 1
<"2 (minors=.f { 1&}."1) a
+--+--+--+
|ef|bc|bc|
|hi|hi|ef|
+--+--+--+
p=.'$.=. 1+1=#y.'
q=.'(0{"1 y.)-/ . *$:"2 minors y.'
r=.'0{,y.'
[ b=.?3 3$9
1 6 4
4 1 0
6 6 8
(det=.(p;q;r) : '') b
_112
s=.'(0{"1 y.)+/ . *$:"2 minors y.'
(permanent=.(p;s;r) : '') b
320